package org.example.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * (TUserInfo)实体类
 *
 * @author makejava
 * @since 2023-06-14 15:43:13
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_user_info")
public class TUserInfo implements Serializable {
    private static final long serialVersionUID = 711341518264086889L;
    /**
     * 用户ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;


    /**
     * 邮箱号
     */
    private String email;


    /**
     * 用户昵称
     */
    private String nickname;


    /**
     * 用户头像
     */
    private String avatar;


    /**
     * 用户简介
     */
    private String intro;


    /**
     * 个人网站
     */
    private String website;


    /**
     * 是否订阅
     */
    private Integer isSubscribe;


    /**
     * 是否禁用
     */
    private Integer isDisable;


    /**
     * 创建时间
     */

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @TableField(fill = FieldFill.UPDATE)
    private LocalDateTime updateTime;
}

